package lab04.test04;

/**
 * Created by lenovo on 2017/12/14.
 */
public class PrintThread extends Thread {
    @Override
    public void run() {
        //完成计数功能即向控制台依次递减的输出5,4,3,2,1
        /*int i=5;
        * while(i=1){
        * System.out.println(i);
        * }*/

        for (int i=5;i>=1;i--){
            System.out.println(i);
        }

    }
}
